<?php
/**
 * Created by PhpStorm.
 * User: dapeng
 * Date: 2018/10/17
 * Time: 上午10:50
 */

namespace app\models\Project_1_0;
use Core\Model;

class addCases extends Model
{
    function adds($Name,$dealer,$receive_date,$finish_date,$except_date,$status)
    {
        $sql ="INSERT INTO t_case(`Name`,dealer,receive_date,finish_date,except_date,`status`) VALUES ('$Name','$dealer',$receive_date,$finish_date,$except_date,'$status')";

        return $this->db->fetch_sql($sql);
    }
}